Skip to content

GH Issue 1257: Check for duplicates among field names, import aliases, and parent import aliases - #3128

Open
labkey-susanh wants to merge 5 commits into
developfrom
fb_aliasDupes
Open

GH Issue 1257: Check for duplicates among field names, import aliases, and parent import aliases#3128
labkey-susanh wants to merge 5 commits into
developfrom
fb_aliasDupes

Conversation

@labkey-susanh

Copy link
Copy Markdown
Contributor

@labkey-susanh
labkey-susanh requested a review from cnathe July 28, 2026 13:36
updatePage.getFieldsPanel().addField("DupeAliasCheck")
.setImportAliases(GOOD_PARENT_NAME);
errors = updatePage.clickSaveExpectingErrors();
errorMsgExpectedTxt = "Field DupeAliasCheck has an import alias " + GOOD_PARENT_NAME + " that conflicts with a parent alias header.";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason we need to add some checks for the other cases here like having multiple fields that have the same import alias or having an import alias that matches a parent alias? Or maybe some of that could be covered with junit tests (not sure what our validation coverage looks like there for domains).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't include that here because this test class is specifically for SampleTypeParentColumnTest. So, tests aren't completely done for this branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants